import math
from turtle import *
import turtle

speed(90000)
bgcolor("black")


def hearta(k):
    return 15 * math.sin(k) ** 3


def heartb(k):
    return (
        12 * math.cos(k) - 5 * math.cos(2 * k) - 2 * math.cos(3 * k) - math.cos(4 * k)
    )


for i in range(6000):
    goto(hearta(i) * 20, heartb(i) * 20)
    for j in range(5):
        color("red")
    goto(0, 0)
done()
